# @author: Caijiaming
# @Time 2023/11/20 13:12

from django import template
from markdown import markdown

register = template.Library()

@register.simple_tag
def markdown2html(content):
    return markdown(content)